package com.net.xpay.openapi.model;

import com.net.xpay.core.enums.PayTransBatchScene;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * 2020/6/28 09:50

 */
@Getter
@Setter
@NoArgsConstructor
public class OpenApiPayTransBatchModel {
    @ApiModelProperty(notes = "支付宝账号")
    private String alipayNickName;

    @ApiModelProperty(notes = "外部签约事务号(签约支付宝传递的那个事务号)")
    private String signBizNo;

    @ApiModelProperty(notes = "导入的商户的批次号")
    private String importBatchNo;

    @ApiModelProperty(notes = "绝对超时时间，格式为yyyy-MM-dd HH:mm。")
    private String timeExpire;

    @ApiModelProperty(notes = "打款明细")
    private List<OpenApiPayTransModel> payTrans;

    //可选参数
    @ApiModelProperty(notes = "忽略错误的账户，打剩余的正确的款 可选")
    private Integer ignoreErrorAccount;

    @ApiModelProperty(notes = "支付方式 0.pc端 1.移动端二维码 2.移动端原链接")
    private Integer payMethod;

    @ApiModelProperty(notes = "业务场景 CHARGE充值")
    private PayTransBatchScene scene;

    @ApiModelProperty(notes = "付款完成后的回跳地址")
    private String returnUrl;
}
